.class public Lcom/estrongs/android/ui/dialog/r;
.super Landroid/app/Dialog;
.source "CommonLoadingDialog.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/ui/dialog/r$c;
    }
.end annotation


# instance fields
.field private a:Lcom/estrongs/android/ui/dialog/r$c;

.field private b:I

.field private c:Z

.field private d:Landroid/view/ViewGroup;

.field private e:Landroid/widget/TextView;

.field private f:I


# direct methods
.method protected constructor <init>(Landroid/content/Context;)V
    .locals 1

    const v0, 0x7f1202a7

    .line 1
    invoke-direct {p0, p1, v0}, Landroid/app/Dialog;-><init>(Landroid/content/Context;I)V

    const/4 p1, 0x0

    .line 2
    iput-boolean p1, p0, Lcom/estrongs/android/ui/dialog/r;->c:Z

    const/4 p1, 0x2

    .line 3
    iput p1, p0, Lcom/estrongs/android/ui/dialog/r;->b:I

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dialog/r;)Lcom/estrongs/android/ui/dialog/r$c;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dialog/r;->a:Lcom/estrongs/android/ui/dialog/r$c;

    return-object p0
.end method

.method public static a(Landroid/content/Context;)Lcom/estrongs/android/ui/dialog/r;
    .locals 1

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/dialog/r;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/r;-><init>(Landroid/content/Context;)V

    return-object v0
.end method

.method private a()V
    .locals 1

    .line 3
    new-instance v0, Lcom/estrongs/android/ui/dialog/r$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/r$a;-><init>(Lcom/estrongs/android/ui/dialog/r;)V

    invoke-virtual {p0, v0}, Landroid/app/Dialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    .line 4
    new-instance v0, Lcom/estrongs/android/ui/dialog/r$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/r$b;-><init>(Lcom/estrongs/android/ui/dialog/r;)V

    invoke-virtual {p0, v0}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/dialog/r;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/ui/dialog/r;->b:I

    return p0
.end method

.method private b()V
    .locals 3

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/ui/dialog/r;->c:Z

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget v0, p0, Lcom/estrongs/android/ui/dialog/r;->b:I

    const/16 v1, 0x8

    if-eqz v0, :cond_3

    const/4 v2, 0x1

    if-eq v0, v2, :cond_2

    const/4 v2, 0x2

    if-eq v0, v2, :cond_1

    goto :goto_0

    .line 4
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/r;->d:Landroid/view/ViewGroup;

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Landroid/view/ViewGroup;->setVisibility(I)V

    goto :goto_0

    .line 5
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/r;->d:Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    goto :goto_0

    .line 6
    :cond_3
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/r;->d:Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 7
    :goto_0
    iget v0, p0, Lcom/estrongs/android/ui/dialog/r;->f:I

    if-nez v0, :cond_4

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/r;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1

    .line 9
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/r;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/r;->e:Landroid/widget/TextView;

    iget v1, p0, Lcom/estrongs/android/ui/dialog/r;->f:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :goto_1
    return-void
.end method


# virtual methods
.method public cancel()V
    .locals 2

    .line 1
    iget v0, p0, Lcom/estrongs/android/ui/dialog/r;->b:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    const/4 v0, 0x3

    .line 2
    iput v0, p0, Lcom/estrongs/android/ui/dialog/r;->b:I

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/ui/dialog/r;->dismiss()V

    :cond_0
    return-void
.end method

.method public dismiss()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    iput v0, p0, Lcom/estrongs/android/ui/dialog/r;->b:I

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/r;->b()V

    .line 3
    :try_start_0
    invoke-super {p0}, Landroid/app/Dialog;->dismiss()V
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    return-void
.end method

.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 0

    const/4 p1, 0x1

    return p1
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Landroid/app/Dialog;->onCreate(Landroid/os/Bundle;)V

    .line 2
    new-instance p1, Landroid/os/Handler;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-direct {p1, v0}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V

    const p1, 0x7f0c00a2

    .line 3
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->setContentView(I)V

    const p1, 0x7f090930

    .line 4
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/view/ViewGroup;

    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/r;->d:Landroid/view/ViewGroup;

    const p1, 0x7f09092f

    .line 5
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/r;->e:Landroid/widget/TextView;

    .line 6
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/r;->b()V

    const/4 p1, 0x0

    .line 7
    invoke-virtual {p0, p1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 8
    invoke-direct {p0}, Lcom/estrongs/android/ui/dialog/r;->a()V

    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method
